package com.alex.cms.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.alex.cms.domain.CmsArticle;
import com.alex.cms.domain.CmsSpecial;
import com.alex.cms.web.vo.SpecialVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;

/**
 * <p>
 * 专题表 Mapper 接口
 * </p>
 *
 * @author alex
 * @since 2019-10-24
 */
public interface CmsSpecialMapper extends BaseMapper<CmsSpecial> {
	
	public List<SpecialVo> getAllSpecial(@Param(Constants.WRAPPER)QueryWrapper<SpecialVo> queryWrapper);

	public List<CmsArticle> getArticleByAid(@Param(Constants.WRAPPER)QueryWrapper<CmsArticle> queryWrapper);
}
